Root of unity

In mathematics, a root of unity, or de Moivre number, is any complex number that equals 1 when raised to some integer power n. They are used in many branches of mathematics, and are especially important in number theory, the theory of group characters, field theory, and the discrete Fourier transform.

The notion of root of unity also applies to any algebraic ring with 1, namely a root of unity is any element of finite multiplicative order.

Contents

Definition

An nth root of unity, where n = 1,2,3,··· is a positive integer, is a complex number z satisfying the equation

z^n = 1. \,

An nth root of unity is primitive if it is not a kth root of unity for some smaller k:

z^k \ne 1 \qquad (k = 1, 2, 3, \dots, n-1  ). \,

Elementary facts

The 3rd roots of unity
Plot of z3 − 1, in which a zero is represented by the color black.
Plot of z5 − 1, in which a zero is represented by the color black.

Every nth root of unity z is a primitive ath root of unity for some a where 1 ≤ an: if z1 = 1 then z is a primitive first root of unity, otherwise if z2 = 1 then z is a primitive second (square) root of unity, otherwise, ..., and by assumption there must be a "1" at or before the nth term in the sequence.

If z is an nth root of unity and ab (mod n) then za = zb. By the definition of congruence, a = b + kn for some integer k. But then,

 z^a = z^{b+kn} = z^b z^{kn} = z^b (z^n)^k = z^b 1^k = z^b.\;

Therefore, given a power za of z, it can be assumed that 1 ≤ an. This is often convenient.

Any integer power of an nth root of unity is also an nth root of unity:

(z^k)^n = z^{kn} = (z^n)^k = 1^k = 1.\,

Here k may be negative. In particular, the reciprocal of an nth root of unity is its complex conjugate, and is also an nth root of unity:

\frac{1}{z} = z^{-1} = z^{n-1} = \bar z.\,\,

Let z be a primitive nth root of unity. Then the powers z, z2, ... zn−1, zn = z0 = 1 are all distinct. Assume the contrary, that za = zb where 1 ≤ a < bn. Then zba = 1. But 0 < ba < n, which contradicts z being primitive.

Since an nth degree polynomial equation can only have n distinct roots, this implies that the powers of a primitive root z, z2, ... zn−1, zn = z0 = 1 are in fact all of the nth roots of unity.

From the preceding facts it follows that if z is a primitive nth root of unity:

z^a = z^b \iff a\equiv b \pmod{ n}.\,

If z is not primitive there is only one implication:

a\equiv b \pmod{ n} \implies  z^a = z^b.\,

An example showing that the converse implication is false is given by:

n = 4, \;\;  z = -1, \;\; z^2 = z^4 = 1, \;\; 2 \not\equiv 4 \pmod{4}.

Let z be a primitive nth root of unity and let k a positive integer. From the above discussion, zk is a primitive root of unity for some a. Now if zka = 1 ka must be a multiple of n. The smallest number that is divisible by both n and k is their least common multiple, denoted by lcm(n, k). It is related to their greatest common divisor, gcd(n, k), by the formula:

 k\,n = \gcd(k,n)\, \operatorname{lcm}(k,n).\;

Therefore, zk is a primitive ath root of unity where

 a = \frac{n}{\gcd(k,n)}.\;

Thus, if k and n are coprime zk is also a primitive nth root of unity, and therefore there are φ(n) (where φ is Euler's totient function) distinct primitive nth roots of unity. This implies that if n is a prime number, there are n−1 primitive nth roots of unity.

The n different nth roots of unity z^k (k = 1, 2, 3, ..., n) (where z is any primitive nth root of unity) are distributed evenly over the unit circle (i.e. they are the vertices of a regular n-gon with one vertex at 1), as can be seen in the plots of the 3rd and 5th roots of unity.

Examples

One primitive nth root of unity is

e^{2 \pi i/n},\,

because

\left(e^{2 \pi i/n}\right)^k \,=  e^{2 \pi i k/n} \neq 1 \,\qquad (k = 1, 2, 3, \dots, n-1  ),\,

and

\left(e^{2 \pi i/n}\right)^n =  e^{2 \pi i}=1,\,

see exponentiation and Euler's identity.

The number +1 is a square root of unity because (+1)2 = 1, but it is not a primitive square root of unity because (+1)1 = 1. So +1 is only a primitive first root of unity. The number −1 is a primitive square root of unity because (−1)1 ≠ 1 and (−1)2 = 1. For n > 2, the primitive nth roots of unity are non-real complex numbers.

The two primitive cube roots of unity are

\left\{e^{2 \pi i/3},e^{-2 \pi i/3}\right\}=\left\{ \frac{-1 + i \sqrt{3}}{2}, \frac{-1 - i \sqrt{3}}{2} \right\} ,

where  i is the imaginary unit.

The two primitive fourth roots of unity are

\left\{e^{2 \pi i/4},e^{-2 \pi i/4}\right\}=\left\{+i, -i \right\} .

The four primitive fifth roots of unity are

\left\{\left.e^{2 \pi i k/5}\right|k\in \{1,-1,2,-2\}\right\}=\left\{\left . \frac{u\sqrt 5-1}4+v\sqrt{\frac{5+u\sqrt 5}8}i \right |u,v \in \{-1,1\}\right\}.

The two primitive sixth roots of unity are the negatives of the two primitive cube roots

\left\{ \frac{1 + i \sqrt{3}}{2}, \frac{1 - i \sqrt{3}}{2} \right\} .

One of the primitive seventh roots of unity is[1]

\frac13\left( \frac{1 + \sqrt[3]{\frac{-7 + 21 i \sqrt3}{2}} + \sqrt[3]{\frac{-7 -21 i \sqrt3}{2}}}{2} + i \sqrt{1-\frac{8+\sqrt[3]{\frac{-7 + 21 i \sqrt3}{2}} + \sqrt[3]{\frac{-7 -21 i \sqrt3}{2}+ \sqrt[3]{\frac{-637 - 147 i \sqrt3}{2}} +\sqrt[3]{\frac{-637+ 147 i \sqrt3}{2}}}}{2}} \right)

A primitive eighth root of unity is

\sqrt{i}= e^{2\pi i/8} = \frac{\sqrt{2}}{2}+i\frac{\sqrt{2}}{2}.

See heptadecagon for the real part of a 17th root of unity.

Periodicity

If z is a primitive nth root of unity, then the sequence of powers

…, z−1, z0, z1, …

is n-periodic (because z j+n = z j·zn = z j·1 = z j for all values of j), and the n sequences of powers

sk: …, zk·(−1), zk·0, zk·1, …

for k = 1, …, n are all n-periodic (because zk·(j+n) = zk·j). Furthermore, the set {s1, …, sn} of these sequences is a basis of the linear space of all n-periodic sequences. This means that any n-periodic sequence of complex numbers

…, x−1, x0, x1 , …

can be expressed as a linear combination of powers of a primitive nth root of unity:

xj = ∑k Xk·zk·j = X1·zj + ··· + Xn·zn·j

for some complex numbers X1, …, Xn and every integer j.

This is a form of Fourier analysis. If j is a (discrete) time variable, then k is a frequency and Xk is a complex amplitude.

Choosing for the primitive nth root of unity

z = e2πi/n = cos(2π/n) + i·sin(2π/n)

allows xj to be expressed as a linear combination of cos and sin:

xj = ∑k Ak·cos(2π·j·k/n) + ∑k Bk·sin(2π·j·k/n).

This is a discrete Fourier transform.

Summation

The nth roots of unity add up according to the formula for a geometric series. (This summation is a special case of the Gaussian sum.) For n > 1:

\sum_{k=0}^{n-1} z^k = \frac{z^n - 1}{z - 1} = 0

where z is a primitive nth root of unity. For n = 1, the sum has only one term: z0=1.

Orthogonality

From the summation formula follows an orthogonality relationship: for j = 1, ···, n and j ' = 1, ···, n

\sum_{k=1}^{n} \overline{z^{j\cdot k}} \cdot z^{j'\cdot k} = n \cdot\delta_{j,j'}

where \delta is the Kronecker delta and z is any primitive nth root of unity.

The n \times n matrix \ U whose (j,k)th entry is

U_{j,k}=n^{-\frac{1}{2}}\cdot z^{j\cdot k}

defines a discrete Fourier transform. Computing the inverse transformation using gaussian elimination requires O(n3) operations. However, it follows from the orthogonality that U is unitary. That is,

\sum_{k=1}^{n} \overline{U_{j,k}} \cdot U_{k,j'} = \delta_{j,j'} ,

and thus the inverse of U is simply the complex conjugate. (This fact was first noted by Gauss when solving the problem of trigonometric interpolation). The straightforward application of U or its inverse to a given vector requires O(n2) operations. The fast Fourier transform algorithms reduces the number of operations further to O(n log n).

Cyclotomic polynomials

The zeroes of the polynomial

p(z) = z^n - 1\!

are precisely the nth roots of unity, each with multiplicity 1. The nth cyclotomic polynomial is defined by the fact that its zeros are precisely the primitive nth roots of unity, each with multiplicity 1.

\Phi_n(z) = \prod_{k=1}^{\varphi(n)}(z-z_k)\;

where z1,z2,z3,...,zφ(n) are the primitive nth roots of unity, and φ(n) is Euler's totient function. The polynomial Φn(z) has integer coefficients and is an irreducible polynomial over the rational numbers (i.e., it cannot be written as the product of two positive-degree polynomials with rational coefficients). The case of prime n, which is easier than the general assertion, follows by applying Eisenstein's criterion to the polynomial ((z + 1)n−1) / ((z + 1) − 1), and expanding via the binomial theorem.

Every nth root of unity is a primitive dth root of unity for exactly one positive divisor d of n. This implies that

z^n - 1 = \prod_{d\,\mid\,n} \Phi_d(z).\;

This formula represents the factorization of the polynomial zn − 1 into irreducible factors.

z1−1 = z−1
z2−1 = (z−1)·(z+1)
z3−1 = (z−1)·(z2+z+1)
z4−1 = (z−1)·(z+1)·(z2+1)
z5−1 = (z−1)·(z4+z3+z2+z+1)
z6−1 = (z−1)·(z+1)·(z2+z+1)·(z2z+1)
z7−1 = (z−1)·(z6+z5+z4+z3+z2+z+1)

Applying Möbius inversion to the formula gives


\Phi_n(z) = \prod_{d\,\mid n}(z^{n/d}-1)^{\mu(d)} = \prod_{d\,\mid n}(z^{d}-1)^{\mu(n/d)},

where μ is the Möbius function.

So the first few cyclotomic polynomials are

Φ1(z) = z−1
Φ2(z) = (z2−1)·(z−1)−1 = z+1
Φ3(z) = (z3−1)·(z−1)−1 = z2+z+1
Φ4(z) = (z4−1)·(z2−1)−1 = z2+1
Φ5(z) = (z5−1)·(z−1)−1 = z4+z3+z2+z+1
Φ6(z) = (z6−1)·(z3−1)−1·(z2−1)−1·(z−1) = z2z+1
Φ7(z) = (z7−1)·(z−1)−1 = z6+z5+z4+z3+z2+z+1

If p is a prime number, then all the pth roots of unity except 1 are primitive pth roots, and we have

\Phi_p(z)=\frac{z^p-1}{z-1}=\sum_{k=0}^{p-1} z^k.

Substituting any positive integer for z, this sum becomes a base z repunit. Thus a necessary (but not sufficient) condition for a repunit to be prime is that its length be prime.

Note that, contrary to first appearances, not all coefficients of all cyclotomic polynomials are 0, 1, or −1. The first exception is Φ105. It is not a surprise it takes this long to get an example, because the behavior of the coefficients depends not so much on n as on how many odd prime factors appear in n. More precisely, it can be shown that if n has 1 or 2 odd prime factors (e.g., n = 150) then the nth cyclotomic polynomial only has coefficients 0, 1 or −1. Thus the first conceivable n for which there could be a coefficient besides 0, 1, or −1 is a product of the three smallest odd primes, and that is 3·5·7 = 105. This by itself doesn't prove the 105th polynomial has another coefficient, but does show it is the first one which even has a chance of working (and then a computation of the coefficients shows it does). A theorem of Schur says that there are cyclotomic polynomials with coefficients arbitrarily large in absolute value. In particular, if n = p1·p2· ... ·pt, where p1 < p2 < ... < pt are odd primes, p1 + p2 > pt, and t is odd, then 1 − t occurs as a coefficient in the nth cyclotomic polynomial.[2]

Many restrictions are known about the values that cyclotomic polynomials can assume at integer values. For example, if p is prime and d | Φp(d), then either d ≡ 1 mod (p), or d ≡ 0 mod (p).

Cyclotomic polynomials are trivially solvable in radicals, as roots of unity are themselves radicals. Moreover, there exist more informative radical expressions for nth roots of unity with the additional property[3] that every value of the expression obtained by choosing values of the radicals (for example, signs of square roots) is a primitive nth root of unity. This was already shown by Gauss in 1797.[4] Efficient algorithms exist for calculating such expressions.[5]

Cyclic groups

The nth roots of unity form under multiplication a cyclic group of order n, and in fact these groups comprise all of the finite subgroups of the multiplicative group of the complex number field. A generator for this cyclic group is a primitive nth root of unity.

The nth roots of unity form an irreducible representation of any cyclic group of order n. The orthogonality relationship also follows from group-theoretic principles as described in character group.

The roots of unity appear as entries of the eigenvectors of any circulant matrix, i.e. matrices that are invariant under cyclic shifts, a fact that also follows from group representation theory as a variant of Bloch's theorem.[6] In particular, if a circulant Hermitian matrix is considered (for example, a discretized one-dimensional Laplacian with periodic boundaries[7]), the orthogonality property immediately follows from the usual orthogonality of eigenvectors of Hermitian matrices.

Cyclotomic fields

By adjoining a primitive nth root of unity to Q, one obtains the nth cyclotomic field Fn. This field contains all nth roots of unity and is the splitting field of the nth cyclotomic polynomial over Q. The field extension Fn/Q has degree φ(n) and its Galois group is naturally isomorphic to the multiplicative group of units of the ring Z/nZ.

As the Galois group of Fn/Q is abelian, this is an abelian extension. Every subfield of a cyclotomic field is an abelian extension of the rationals. In these cases Galois theory can be written out explicitly in terms of Gaussian periods: this theory from the Disquisitiones Arithmeticae of Gauss was published many years before Galois.[8]

Conversely, every abelian extension of the rationals is such a subfield of a cyclotomic field — this is the content of a theorem of Kronecker, usually called the Kronecker–Weber theorem on the grounds that Weber completed the proof.

See also

Notes

  1. Blowers, James. "The Seventh Roots of Unity". http://www.mindspring.com/~jimvb/TheSeventhRootofUnity.pdf. Retrieved 2010-08-22 
  2. Emma Lehmer, On the magnitude of the coefficients of the cyclotomic polynomial, Bulletin of the American Mathematical Society 42 (1936), no. 6, pp. 389–392.
  3. Landau, Susan; Miller, Gary L. (1985). "Solvability by radicals is in polynomial time". Journal of Computer and System Sciences 30 (2): 179–208. doi:10.1016/0022-0000(85)90013-3 
  4. Gauss, Carl F. (1965). Disquisitiones Arithmeticae. Yale University Press. pp. §§359–360. ISBN 0-300-09473-6. 
  5. Weber, Andreas; Keckeisen, Michael. "Solving Cyclotomic Polynomials by Radical Expressions". http://cg.cs.uni-bonn.de/personal-pages/weber/publications/pdf/WeberA/WeberKeckeisen99a.pdf. Retrieved 2007-06-22 
  6. T. Inui, Y. Tanabe, and Y. Onodera, Group Theory and Its Applications in Physics (Springer, 1996).
  7. Gilbert Strang, "The discrete cosine transform," SIAM Review 41 (1), 135–147 (1999).
  8. The Disquisitiones was published in 1801, Galois died in 1832 but wasn't published until 1846.

References